﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace BridgeShips
{
    public class ObjectOriginalMessage : MonoBehaviour
    {
        public GameObject m_ParentObj;
        public string m_PartName = "";
        public Vector3 m_OriginalPos;
        public Quaternion m_OriginalQua;
        public Vector3 m_OriginalSca;


        public void OnInit() {
            m_PartName = transform.name;
            m_OriginalPos = transform.localPosition;
            m_OriginalQua = transform.localRotation;
            m_OriginalSca = transform.localScale;
            m_ParentObj = transform.parent.gameObject;
        }

    }
}

